package com.wenwu.service;

import com.wenwu.common.bean.RelicsMRepair;
import com.wenwu.common.exception.RelicsException;
import com.wenwu.common.page.PaginationVO;

/**
 * 可移动文物-完残情况
 * @author Yaphet
 *
 */
public interface MoveableRepairService {

	
	/**
	 * 根据可移动文物登记表主键查询可移动文物-完残情况
	 * @param key
	 * @return
	 * @throws RelicsException
	 */
	RelicsMRepair selectMRepairByMWenwuKey(Integer key) throws RelicsException;
	
	/**
	 * 添加可移动文物-完残情况
	 * @param relicsMRepair
	 * @return
	 * @throws RelicsException
	 */
	String addRelicsMRepair(RelicsMRepair relicsMRepair)throws RelicsException;

	/**
	 * 根据主键查询可移动文物-完残情况
	 * @param integrityId
	 * @return
	 */
	RelicsMRepair selectMRepairBySelftKey(Integer integrityId)throws RelicsException;

	/**
	 * 批量删除
	 * @param keys
	 * @return
	 */
	String deleteBykeys(String keys)throws RelicsException;

	/**
	 * 分页查询
	 * @param relicsMRepair
	 * @param pageVo
	 * @return
	 * @throws RelicsException
	 */
	PaginationVO selectByCondition(RelicsMRepair relicsMRepair,
			PaginationVO pageVo)throws RelicsException;
	
}
